package com.tamtamy.jttamobile.data;

import java.util.Date;

public class Comment {
	
	protected long id;
	protected long contentId;
	protected String user;
	protected Date creationDate;
	protected String comment;
	protected String commentPlainText;
	protected String permalink;
		
	public Comment() {
		super();
		this.id = 0;
		this.contentId = 0;
		this.user = null;
		this.creationDate = null;
		this.comment = null;
	}
	
	public Comment(long id, long contentId, String user, Date creationDate, String comment) {
		super();
		this.id = id;
		this.contentId = contentId;
		this.user = user;
		this.creationDate = creationDate;
		this.comment = comment;
	}

	public long getId() {
		return id;
	}
	
	public void setId(long id) {
		this.id = id;
	}
	
	public long getContentId() {
		return contentId;
	}
	
	public void setContentId(long contentId) {
		this.contentId = contentId;
	}
	
	public String getUser() {
		return user;
	}
	
	public void setUser(String user) {
		this.user = user;
	}
	
	public Date getCreationDate() {
		return creationDate;
	}
	
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
	
	public String getComment() {
		return comment;
	}
	
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getCommentPlainText() {
		return commentPlainText;
	}

	public void setCommentPlainText(String commentPlainText) {
		this.commentPlainText = commentPlainText;
	}

	public String getPermalink() {
		return permalink;
	}

	public void setPermalink(String permalink) {
		this.permalink = permalink;
	}
	
	@Override
	public String toString() {
		return "Comment [id=" + id + ", contentId=" + contentId + ", user="
				+ user + ", creationDate=" + creationDate + ", comment="
				+ comment + ", commentPlainText=" + commentPlainText
				+ ", permalink=" + permalink + "]";
	}

}
